package com.cencat.framework.core.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;

import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.cencat.framework.core.entity.BaseEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseMapper<T extends BaseEntity> extends CencatBaseMapper<T> {
    
    List<T> selectAll();
    
    List<T> selectByCondition(@Param(Constants.WRAPPER) Wrapper<T> wrapper);
}